package com.ruoyi.system.neo;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.RequestMapping;

@RestController
//@RequestMapping("/api")
public class AjaxController {
    private final AppConfig appConfig;

    @Autowired
    public AjaxController(AppConfig appConfig) {
        this.appConfig = appConfig;
    }

    @GetMapping("/getNeo")
    public AppConfig getAppConfig() {
        return appConfig;
    }
}
